<{* --------------------------------------------------------
 * @package scuttle
 * @file /admin/templates/scuttle_watched_list.html
-------------------------------------------------------- *}>

<{* --- Header --- *}>
<{include file="file:$xoops_rootpath/modules/scuttle/admin/templates/scuttle_header.html"}>

<{* --- addd data --- *}>
<ul class='toptab'>
  <li><a href='index.php?action=WatchedEdit'><{$smarty.const._AD_SC_WATCHED_ADD}></a></li>
</ul>
<br />

<div class="pagenavi"><{xoops_pagenavi pagenavi=$pageNavi}></div>
<{if count($objects) gt 0}>
	<table width='100%' class='outer' cellspacing='1' cellpadding='3' border='0' >
	<tr>
<{* --- data title --- *}>
	<th>
		<{$smarty.const._AD_SC_WATCHED_WID}><br />
		<a href="<{$pageNavi->renderUrlForSort()}>&amp;sort=<{$smarty.const.SC_SORT_KEY_WID}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" title="<{$smarty.const._ASCENDING}>" /></a>
		<a href="<{$pageNavi->renderUrlForSort()}>&amp;sort=-<{$smarty.const.SC_SORT_KEY_WID}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" title="<{$smarty.const._DESCENDING}>" /></a>
	</th>
	<th>
		<{$smarty.const._AD_SC_WATCHED_UID}><br />
		<a href="<{$pageNavi->renderUrlForSort()}>&amp;sort=<{$smarty.const.SC_SORT_KEY_UID}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" title="<{$smarty.const._ASCENDING}>" /></a>
		<a href="<{$pageNavi->renderUrlForSort()}>&amp;sort=-<{$smarty.const.SC_SORT_KEY_UID}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" title="<{$smarty.const._DESCENDING}>" /></a>
	</th>
	<th>
		<{$smarty.const._AD_SC_WATCHED_WATCHED}><br />
		<a href="<{$pageNavi->renderUrlForSort()}>&amp;sort=<{$smarty.const.SC_SORT_KEY_WATCHED}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" title="<{$smarty.const._ASCENDING}>" /></a>
		<a href="<{$pageNavi->renderUrlForSort()}>&amp;sort=-<{$smarty.const.SC_SORT_KEY_WATCHED}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" title="<{$smarty.const._DESCENDING}>" /></a>
	</th>
	<th><{$smarty.const._AD_SC_ACTION}></th>
	</tr>




<{* --- data list --- *}>
<{foreach item=object from=$objects}>
	<tr class="<{cycle values="even, odd"}>">
	<td><{$object->getShow('wId')}></td>
	<td><{$object->getShow('uId')}></td>
	<td><{$object->getShow('watched')}></td>
	<td align='center'>
		<a href='index.php?action=WatchedEdit&amp;wId=<{$object->getShow('wId')}>'>
			<img src="../images/icon/file_edit.png" alt="<{$smarty.const._AD_SC_EDIT}>">
		</a>&nbsp;&nbsp;
		<a href='index.php?action=WatchedDelete&amp;wId=<{$object->getShow('wId')}>'>
			<img src="../images/icon/file_delete.png" alt="<{$smarty.const._AD_SC_DELETE}>">
		</a>
	</td>
	</tr>
<{/foreach}>
	</table>
<{/if}>
<div class="pagenavi"><{xoops_pagenavi pagenavi=$pageNavi}></div>
